package cn.pn.project.client.schedule.follback;

import cn.pn.project.client.schedule.PlaceFeign;
import cn.pn.project.pojo.schedule.Place;
import org.springframework.stereotype.Component;

import java.sql.SQLException;

@Component
public class PlaceFallBack implements PlaceFeign {
    /**
     * 根据场地id查询场地信息
     * @param placeId
     * @return
     * @throws SQLException
     */
    @Override
    public Place getPlaceByPlaceId(Integer placeId) throws SQLException {
        System.out.println("场地id为空了");
        return null;
    }
}
